import { v4 as uuidv4 } from 'uuid';

/**
 * 缺省的事件配置
 */
export const getDefaultEventConfig = () => ({
  id: uuidv4(),
  name: '',
  actions: [],
});

/**
 * 交互事件选项
 */
export const EventTypeOptions: { label: string; value: string }[] = [
  {
    label: '鼠标点击',
    value: 'click',
  },
  {
    label: '鼠标进入',
    value: 'mouseenter',
  },
  {
    label: '鼠标离开',
    value: 'mouseleave',
  },
];
